class Log:
    filename = None
    flag = None  # flag:0 本地 ,1 ftp
    time = None
    path = None
    method = None  # method 0 修改 1 新增 -1 删除

    def __init__(self, filename, flag, time, path, method):
        self.filename = str(filename).replace(' ', '')
        self.flag = flag
        self.time = time
        self.path = str(path).replace(' ', '').replace('//', '/')
        self.method = method
